include Makefile-lpdoc

ALLITEX=asset_access.itex organization_access.itex \
	certification_access.itex resource_access.itex \
	dictionary_access.itex ontology_access.itex \
	user_access.itex basic_types.itex matching_access.itex \
	database_access.itex

# ALLTEXI=asset_access.texi  organization_access.texi \
# 	certification_access.texi resource_access.texi \
# 	dictionary_access.texi ontology_access.texi  \
# 	user_access.texi basic_types.texi
# 
# ALLTEXIC=asset_access.texic  organization_access.texic \
# 	certification_access.texic  resource_access.texic \
# 	dictionary_access.texic ontology_access.texic \
# 	user_access.texic basic_types.texic

.SUFFIXES: .texi .texic .itex

.texi.itex: texi_to_latex
	./texi_to_latex --without-frontpage $*.texi $*.itex

.texic.itex: texi_to_latex
	./texi_to_latex --without-frontpage $*.texic $*.itex

texi_to_latex: texi_to_latex.pl
	$(CIAOC) texi_to_latex

fake: fake.itex

allitex: texi texic $(ALLITEX)

itexclean: distclean 
	/bin/rm -rf *.itex
